package cn.zhage.aimin.admin1;

import cn.zhage.aimin.admin1.config.RandomLoadBalancerConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients
@LoadBalancerClients(defaultConfiguration =
        RandomLoadBalancerConfig.class)
public class AiminAdmin1Application {

    public static void main(String[] args) {
        SpringApplication.run(AiminAdmin1Application.class, args);
    }

}
